<?php
try {
  $plugin = new stdClass();
  $plugin->folder = basename(dirname(__FILE__));
  DbUtils::add($myPdo, 'pz2_plugin', $plugin);
} catch (PDOException $e) {
}
$sql = "CREATE TABLE IF NOT EXISTS `" . TABLE_NAME_PREFIX_PLUGIN . "disp_cat`(
         `id` int NOT NULL AUTO_INCREMENT PRIMARY KEY,
         `parent_id` int DEFAULT 0,
         `category_id` int DEFAULT 0,
         `name` varchar(256) DEFAULT '',
         `order` double DEFAULT 0
        ) ENGINE=MYISAM;";
$myPdo->exec($sql);
?>